/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package isae.lib;


import java.util.Comparator;

/**
 *
 * @author admin
 */
public class compareNexam implements Comparator<isae.lib.EtudiantNoExamen>{
         public int compare(isae.lib.EtudiantNoExamen a, isae.lib.EtudiantNoExamen b) {
             if (a.getNoexamen() < b.getNoexamen()) return -1;
             if (a.getNoexamen() > b.getNoexamen()) return 1;
             return 0;
         }
}
